package com.ren.movie.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ren
 * @since 2022-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_ticket")
public class Ticket extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ticketId", type = IdType.AUTO)
    private Integer ticketid;

    @TableField("ticketName")
    private String ticketname;

    @TableField("ticketSale")
    private Double ticketsale;

    @TableField("ticketNum")
    private Integer ticketnum;

    @TableField("ticketTag")
    private Integer tickettag;


}
